package ${pknService};

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import ${pknEntity}.${className};
import com.yunfeng.common.util.Page;

public interface ${className}Service {
	${className} get(Long id);

	void saveOrUpdate(${className} ${instanceName});

	void delete(Long id);

	List<${className}> findAll();

	List<${className}> findAll(Page page);

	List<${className}> findBy${indexName?cap_first}(Page page, String ${indexName});
	
	List<${className}> findByExample(Specification<${className}> specification, Page page);
}
